#!/usr/bin/env python
import su

# Reads a valid seismic unix file
data = su.read("co-crop.su");

# Apply AGC to the data (to the output, like pixbufs)
data.set_agc("99")

# Return a valid pixbuf with the seismic data
pb = data.get_pixbuf(x0, x1, t0, t1, color_pallete = "gray")

